package com.core.image.core.box;

import com.core.image.core.SendPacket;

import java.io.ByteArrayInputStream;
import java.io.Closeable;

/**
 * describe:
 *
 * @author 库琦
 * @date 2020/01/24
 */
public class StringSendPacket extends ByteSendPacket{
    public StringSendPacket(String msg){
        super(msg.getBytes());
    }

    @Override
    public byte type() {
        return TYPE_MEMORY_STRING;
    }
}
